import request from '@/sheep/request';

const MessageApi = {

    getWaitPrintList: (serialNumber) => {
        return request({
            url: '/sp/print-log/getWaitPrintList',
            method: 'GET',
            params: {
                serialNumber: serialNumber,
            },
            custom:{
                showLoading:false
            }
        });
    },

    getPrinLogtList: (params) => {
        return request({
            url: '/sp/print-log/page',
            method: 'GET',
            params: params ,
        });
    },
    // 退款
    afterSaleRefund:(data)=>{
        return request({
            url: '/trade/after-sale/refund',
            method: 'PUT',
            params: data
        })
    }
};

export default MessageApi;
